package model;


public class LeftTokenObtained implements PhilosopherState{
	private static LeftTokenObtained instance;
	public synchronized static LeftTokenObtained getInstance() {
		if(instance == null){
			instance = new LeftTokenObtained();
		}
		return instance;
	}
	
	@Override
	public long getMaxWaitTime() {
		return 0;
	}
	
	private LeftTokenObtained(){}

	@Override
	public void accept(final PhilosopherStateVisitor visitor) {
		visitor.visit(this);
	}

	@Override
	public String toString(){
		return "left token obtained";
	}
}
